/* 新增根容器样式 */
html, body, #app, .container {
    width: 100%;
    height: 100vh; /* 关键：保证容器高度撑满视口 */
    margin: 0;
    overflow: hidden; /* 防止滚动条 */
}

.login{
    width: 100%;
    height: 100%;
    position: fixed;       /* 改为 fixed 定位 */
    left: 0px;
    top:0px;
    background: url(~@/assets/login/login-bg.png) no-repeat;
    background-size: cover;
    filter: blur(10px);
    z-index: -1;           /* 确保内容层在上 */

}
.login-mid{
    position: absolute;
    width: 90%;
    height: 90vh;
    max-width: 1200px; /* 添加最大宽度限制 */
    max-height: 900px; /* 添加最大高度限制 */
    background-color: rgba(37, 76, 102,0.5);
    transform: translate(-50%,-50%);
    left: 50%;
    top: 50%;
    cursor: pointer;
}

.shadow-top-left, .shadow-top-right,
.shadow-bot-left, .shadow-bot-right {
    width: 20%;
    height: 100%;
    border: none; /* 移除边框 */
    filter: blur(2px);
}
.login-mid-mid{
    width: 100%;
    height: 100%;
}

.videoCamera-canvasCamera{
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}
.face-special-effects,.face-special-effects-2{
    width: 80vw;           /* 视口宽度比例 */
    height: 80vw;          /* 保持正方形 */
    max-width: 600px;      /* 桌面端最大尺寸 */
    max-height: 600px;
    position: absolute;
    z-index: 9999;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}
.face-special-effects{

    background-size: 300px 300px;
}
.face-special-effects-2{

    background-size: 300px 300px;
}
.face-btn{
    width: 100%;
    height: 50px;
    z-index: 999999999999!important;
    margin-top: 45px;
    text-align: center;
}
.face-btn button{
    background-color: #00ffff;
    border: none;
    outline: none;
    width: 200px;
    height: 40px;
    border-radius: 6px;
    color: #ffffff;
    cursor: pointer;
}
.msg{
    width: 100%;
    height: 75px;
    color: #ffffff;
}
.server-msg{
    width: 100%;
    height: 35px;
    text-align: center;
    line-height: 35px;
}
.welcome{
    width: 100%;
    height: 40px;
    text-align: center;
    line-height: 40px;
    font-size: 20px;
    font-family: "Baskerville Old Face";
    color: white;
}
/* 移动端适配 */
@media (max-width: 768px) {
    .login-mid {
        width: 95%;          /* 更窄的宽度 */
        height: 70vh;        /* 更小的高度 */
    }

    .face-special-effects, .face-special-effects-2 {
        width: 90vw;
        height: 90vw;
    }
}